package com.demo2do.fms.admin.visitor.impl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 
 * @author wilson
 *
 */
@Component("configContextVisitor")
public class ConfigContextVisitor {

    @Value("#{config['file.upload.host']}")
    private String uploadHost;
    
    @Value("#{config['page.everyPage']}")
    private String everyPage;
    
    @Value("#{config['page.limit']}")
    private String limit;
    
    /**
     * 
     * @return
     */
    public String getUploadHost() {
        return uploadHost;
    }
    
    /**
     * @return
     */
    public String getEveryPage() {
        return everyPage;
    }
    
    /**
     * @return
     */
    public String getLimit() {
        return limit;
    }
    
}
